<div class="row">

    <div class="col-md-12">       

        <div class="block">
            <div class="block-title">
                <h2><strong>Formulario de Preinscripcion </strong> </h2>
            </div>
           
                <?php echo $this->Form->create('User', array('class'=>'form-horizontal form-bordered'));?>	    
                <fieldset>
                    <!--<legend><i class="fa fa-angle-right"></i> Vital Info</legend>-->
                    <div class="form-group">
                        
                        
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label" for="data[User][ap_paterno]">Apellido Paterno <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <div class="input-group">
                                <?php echo $this->Form->hidden('role',array('value' => 'Colegiado'));?>
                                <?php echo $this->Form->text('ap_paterno',array('type'=>'text','class' => 'form-control','placeholder' => 'Ingrese el apellido paterno','required'));?>
                                <span class="input-group-addon"><i class="gi gi-user"></i></span>
                            </div>
                        </div>

                        <label class="col-md-2 control-label" for="data[User][ap_materno]">Apellido Materno <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <div class="input-group">
                                <?php echo $this->Form->text('ap_materno',array('class' => 'form-control','placeholder' => 'Ingrese el apellido paterno','required','type'=>'text'));?>
                                <span class="input-group-addon"><i class="gi gi-user"></i></span>
                            </div>
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="col-md-2 control-label" for="data[User][nombres]">Nombres <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <div class="input-group">
                                <?php echo $this->Form->text('nombres',array('class' => 'form-control','placeholder' => 'Ingrese los nombres','required'));?>
                                <span class="input-group-addon"><i class="gi gi-user"></i></span>
                            </div>
                        </div>
                        <label class="col-md-2 control-label">C.I. <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <div class="input-group">
                                <?php echo $this->Form->text('ci',array('class' => 'form-control','placeholder' => 'Ingrese el C.I.','required','type'=>'number'));?>
                                <span class="input-group-addon"><i class="gi gi-user"></i></span>
                            </div>
                        </div>
                    </div>
                    
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="data[User][fecha_titulo]">Fecha de Titulo <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <div class="input-group">
                                <?php echo $this->Form->text('fecha_titulo',array('class' => 'form-control input-datepicker','data-date-format' => 'yyyy-mm-dd','placeholder' => 'seleccione la fecha','required'));?>
                                <span class="input-group-addon"><i class="hi hi-calendar"></i></span>
                            </div>
                        </div>
                        <label class="col-md-2 control-label">Tipo <span class="text-danger">*</span></label>
                        <div class="col-md-3">
                            <?php echo $this->Form->select('tipo',array('Nacional' => 'Nacional','Extranjero' => 'Extranjero','Tecnico' => 'Tecnico'),array('class' => 'form-control','required'));?>
                        </div>
                    </div>
                    <div class="form-group">
                        
                        <label class="col-md-2 control-label" for="data[User][observaciones]">Observaciones <span class="text-danger">*</span></label>
                        <div class="col-md-8">
                            <?php echo $this->Form->textarea('observaciones',array('class' => 'form-control col-md-12','placeholder' => 'Aqui las observaciones'))?>
                            
                        </div>
                    </div>  
                   
                    

                </fieldset>

                <div class="form-group form-actions">
                    <div class="col-md-8 col-md-offset-4">
                        <button type="submit" class="btn btn-sm btn-primary"><i class="fa fa-arrow-right"></i> Guardar</button>
                    </div>
                </div>
            <?php echo $this->Form->end();?>

        </div>
    </div>    
</div>